local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.Bow());

local Tool=_G.CommonOHOH.load.WeaponTool();

function M.new(self, ...)
	return M(self, ...);
end;


function M.ctor(self,equiId,character,player)

    -- print("_____AAAAA_______CreateWaepon_____",equiId)
    local weaponInfo=Tool.GetWeaponArt(equiId)
    M.super.ctor(self,equiId,character,weaponInfo.Arch:Clone(),player);
    self:Bind2character()
    self:AddPrivateComponent(script.shoot)
    self:AddPrivateComponent(script.animation)
    self:AddPrivateComponent(script.audio)

end;



function M.dtor(self)
	M.super.dtor(self);
end;

return M;
